package test

import (
	_ "gitee.com/keepalived_0807/Vblog/apps"
	"gitee.com/keepalived_0807/Vblog/conf"
	"gitee.com/keepalived_0807/Vblog/ioc"
	"github.com/spf13/cobra"
)

func DevolopmentSetUp() {
	if err := conf.LoadConfigFromEnv(); err != nil {
		panic(err)
	}
	cobra.CheckErr(ioc.Controller.Init())
	cobra.CheckErr(ioc.Api.Init())
}
